//
//  DwtExchangeFrateData.m
//  生活小助手
//
//  Created by dwt on 14-8-10.
//  Copyright (c) 2014年 lxz. All rights reserved.
//

#import "DwtExchangeFrateData.h"

@implementation DwtExchangeFrateData
-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self=[super init]) {
        
        self.buyPic = dict[@"buyPic"];
        self.sellPic = dict[@"sellPic"];
        self.openPri = dict[@"openPri"];
        self.diffAmo = dict[@"diffAmo"];
        self.datatime = dict[@"datatime"];
        self.code = dict[@"code"];
        self.lowPic = dict[@"lowPic"];        
        self.closePri = dict[@"closePri"];
        self.diffPer = dict[@"diffPer"];
        self.range = dict[@"range"];
        self.currency = dict[@"currency"];
        self.highPic = dict[@"highPic"];

    }
    return self;
}
+(instancetype)exchangeFrateDataWithDictionary:(NSDictionary *)dict{
    return [[self alloc]initWithDictionary:dict];
}
@end
